package com.roamer.school.web.model.sys;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 登陆表单对象
 *
 * @author roamer
 * @version V1.0
 * @date 2019/1/22 15:16
 */
@Data
public class LoginFrom implements Serializable {

    private static final long serialVersionUID = -3426363509427728224L;

    @NotBlank(message = "用户名为空")
    private String username;

    @NotBlank(message = "密码为空")
    private String password;

    @NotBlank(message = "验证码为空")
    private String captcha;

    @NotBlank(message = "uuid为空")
    private String uuid;
}
